﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomeMasterPage.master" AutoEventWireup="true"
    CodeFile="Play.aspx.cs" Inherits="Play" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/") %>resources/show.css"
        media="screen" />
    <script type="text/javascript" src="<%=ResolveUrl("~/") %>resources/base64.js"></script>
    <script type="text/javascript"> 
<!--
        window.onerror = function () { return true; } 
// --> 
    </script>
    <!--[if IE 6]>
<script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);</script>
<![endif]-->
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="mod_player_wrap" id="mod_player_wrap">
        <div class="mod_inner">
            <div class="mod_paths tow_rows" id="mod_paths">
                <div class="mod_path_title">
                    <span id="h1_title"><%= Music.MusicName %>
                        </span></div>
                <a href="javascript:void(0);"><%= Music.Singer %></a> - <%=Music.VideoType %> - <%= Music.VideoLink %>
            </div>
        </div>
    </div>
    <div class="mplay-bg">
        <div class="play-area" id="a1" style="position: relative; z-index: 100;">
            <div id="VideoPlayObject" class="container">
                <object type="application/x-shockwave-flash" data="<%=ResolveUrl("~/") %>resources/cmp/cmp.swf"
                    width="920" height="500" id="cmp">
                    <param name="allowfullscreen" value="true" />
                    <param name="allowscriptaccess" value="always" />
                    <param name="flashvars" value="api=cmp_loaded&amp;lists=%2Fvideo%2Flist.php%3Fcatid%3D15%26itemid%3D4005%26cmp4%3D1" />
                </object>
            </div>
            <script type="text/javascript" src="<%=ResolveUrl("~/") %>resources/cmp/cmp.js"></script>
            <script type="text/javascript">
                function cmp_loaded(key) {
                    var cmpo = CMP.get("cmp");
                    if (cmpo) {
                        var vid = "118277821";
                        cmpo.config("auto_play", "true");
                        if (vid) {
                            var xml = '<list><m label="末小皮《完美情人》" src="youku.php?id=XNDczMTExMjg0" /></list>';
                        } else {
                            var xml = '<list><m label="末小皮《完美情人》" src="XNDczMTExMjg0" /></list>';
                        }
                        cmpo.list_xml(xml);
                    }
                }
                var flashvars = {
                    api: "cmp_loaded",
                    lists: "<%=ResolveUrl("~/list.xml") %>"
                };
                //id, width, height, swf_url, flashvars, params, attrs
                var htm = CMP.create("cmp", "920", "500", "<%=ResolveUrl("~/") %>resources/cmp/cmp.swf", flashvars);
                document.getElementById("VideoPlayObject").innerHTML = htm;
            </script>
            <style type="text/css">
                #VideoPlayObject object
                {
                    width: 980px;
                    height: 510px;
                }
            </style>
        </div>
    </div>
    <div class="container_25 clearfix">
        <div class="grid_17">
            <div class="mod_action bor">
                <div class="mod_grade_b boke_bar_a">
                    <ul class="mod_ding_cai">
                        <li><b>播放：<%= Music.HitCount %> </b></li>
                    </ul>
                </div>
                <!-- 类名 open 开启下啦框 -->
                <div class="mod_shares_list" id="mod_shares">
                    <h4>
                        <!-- Baidu Button BEGIN -->
                        <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                            <a class="bds_qzone"></a><a class="bds_tsina"></a><a class="bds_tqq"></a><a class="bds_renren">
                            </a><a class="bds_t163"></a><span class="bds_more"></span><a class="shareCount">
                            </a>
                        </div>
                        <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6700065"></script>
                        <script type="text/javascript" id="bdshell_js" src="http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=389067"></script>
                        <script type="text/javascript">
                            document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000)
                        </script>
                        <!-- Baidu Button END -->
                    </h4>
                </div>
            </div>
            <!-- 相关推荐 开始 -->
            <div class="mod_recommend_video_140 mod_box" id="recommand">
                <div class="mod_tab">
                    <ul id="recommandTitle">
                        <li class="current"><a href="javascript:;">喜欢本视频的人还喜欢</a> </li>
                    </ul>
                </div>
                <div class="mod_cont" id="mod_ulike_new" _showtype="2">
                    <ul class="mod_list_pic_140 short_video" id="ul_ulike_list">
                        <li><a href="http://localhost/mv/video/show-4005.html" class="mod_poster_140">
                            <img src="http://g3.ykimg.com/1100641F46509D0B12B0F602D9A45D9E689C79-BB4E-68D4-3870-8FF7EDD20FBC"
                                onerror="this.src='http://localhost/mv/skin/aimai/css/img/nophoto.jpg'" alt="Shine On Me HIT-5" />
                            <span class="mod_sign"><span class="mod_version"></span></span></a>
                            <h6>
                                <a href="http://localhost/mv/video/show-4005.html" title="末小皮《完美情人》">末小皮《完美情人》</a></h6>
                        </li>
                        <li><a href="http://localhost/mv/video/show-4005.html" class="mod_poster_140">
                            <img src="http://g3.ykimg.com/1100641F46509D0B12B0F602D9A45D9E689C79-BB4E-68D4-3870-8FF7EDD20FBC"
                                onerror="this.src='http://localhost/mv/skin/aimai/css/img/nophoto.jpg'" alt="Shine On Me HIT-5" />
                            <span class="mod_sign"><span class="mod_version"></span></span></a>
                            <h6>
                                <a href="http://localhost/mv/video/show-4005.html" title="末小皮《完美情人》">末小皮《完美情人》</a></h6>
                        </li>
                        <li><a href="http://localhost/mv/video/show-4005.html" class="mod_poster_140">
                            <img src="http://g3.ykimg.com/1100641F46509D0B12B0F602D9A45D9E689C79-BB4E-68D4-3870-8FF7EDD20FBC"
                                onerror="this.src='http://localhost/mv/skin/aimai/css/img/nophoto.jpg'" alt="Shine On Me HIT-5" />
                            <span class="mod_sign"><span class="mod_version"></span></span></a>
                            <h6>
                                <a href="http://localhost/mv/video/show-4005.html" title="末小皮《完美情人》">末小皮《完美情人》</a></h6>
                        </li>
                        <li><a href="http://localhost/mv/video/show-4005.html" class="mod_poster_140">
                            <img src="http://g3.ykimg.com/1100641F46509D0B12B0F602D9A45D9E689C79-BB4E-68D4-3870-8FF7EDD20FBC"
                                onerror="this.src='http://localhost/mv/skin/aimai/css/img/nophoto.jpg'" alt="Shine On Me HIT-5" />
                            <span class="mod_sign"><span class="mod_version"></span></span></a>
                            <h6>
                                <a href="http://localhost/mv/video/show-4005.html" title="末小皮《完美情人》">末小皮《完美情人》</a></h6>
                        </li>
                    </ul>
                </div>
            </div>
            <!-- 相关推荐 结束 -->

            <!-- 评论 开始 -->
            <div class="mod_recommend_video_140 mod_box" id="Div1">
                <div class="mod_tab">
                    <ul id="Ul1">
                        <li class="current"><a href="javascript:;">用户评论</a> </li>
                    </ul>
                </div>
                
                暂无评论

            </div>
            <div class="mod_recommend_video_140 mod_box" id="Div2">
                <div class="mod_tab">
                    <ul id="Ul2">
                        <li class="current"><a href="javascript:;">我的评论</a> </li>
                    </ul>
                </div>
                
                <div style="margin-left: 30px;margin-bottom: 20px;">
                    <asp:TextBox Width="600" placeholder="留下您的评论" Height="200" ID="txtMyReply" runat="server" TextMode="MultiLine"></asp:TextBox>
                    <asp:Button style="padding: 10px; margin-top: 10px;" ID="btnReply" runat="server" Text="回复" />
                    
                </div>

            </div>
            <!-- 评论 结束 -->
        </div>
        <!-- 右栏开始 -->
        <div class="grid_8">
            <div class="mod_info" id="mod_mvinfo">
                <h2 class="mod_tit_box">
                    MV信息</h2>
                <div class="mod_cont" id="container_mod_info">
                    <h3>
                        <%=Music.Singer %>《<%=Music.MusicName %>》</h3>
                    <em class="c_txt3" id="detail_list_score"></em>
                    <ul class="details_list clearfix">
                        <li>上传时间 <%=Music.IssueDate.ToString("yyyy-MM-dd") %></li>
                        <li>时长：<%=FormatHelper.SecondsToMinutes(Music.Length.GetValueOrDefault(0))%></li>
                        <li class="mod_actor">歌手：<a href="javascript:void(0);" target="_blank"><%=Music.Singer %></a> </li>
                        <!--<li>所属：<a href="/">高清MV</a></li>-->
                        <li style="display: none" id="mod_videoviewnum"></li>
                    </ul>
                    <div class="mod_desc close">
                        <p class="mod_cont" id="mod_videodesc" style="height: auto">
                            <span style="white-space: nowrap;"></span>
                        </p>
                    </div>
                </div>
            </div>
            <amv:MusicIndexer runat="server" />
        </div>
    </div>
    </div>
</asp:Content>
